package com.atguigu.search.controller;

import org.elasticsearch.client.RestHighLevelClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SearchTestController {
    @Autowired
    private RestHighLevelClient restHighLevelClient;
    @GetMapping("/test")
    public void test(){
        System.out.println(restHighLevelClient);
    }
}
